package com.fortune.dao;

import com.fortune.vo.wechatProduct.Product;
import com.fortune.vo.wechatProduct.TerminalDiscount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WechatProductDao {
    /**
     * 查询优惠政策
     * @param mid
     * @return
     */
    TerminalDiscount findTerminalDiscount(@Param("mid") String mid);

    /**
     * 查询商品列表
     * @param mid
     * @return
     */
    List<Product> findListProducts(@Param("mid") String mid);
}
